<!--{template admin/header}-->
<body id="homepage">
    <div id="breadcrumb">
        <ul>
            <li><img src="static/img/icons/icon_breadcrumb.png"
                     alt="Location" /></li>
            <li><strong>位置:</strong></li>
            <li><a href="admin.php">主页</a> - 资源详情</li>
        </ul>
    </div>
    <div id="rightside">
        <div class="contentcontainer">
            <div class="headings altheading">
                <h2>资源详情</h2>
            </div>
            <div class="contentbox">
            	<div style="float:left;">
                <form action="admin.php" method="get">
	                <table>
	                    <tr>
	                        <td width="148" ><span class="usagetxt darktext">id：</span></td>
	                        <td width="491"><input type='text' name='id' class='inputbox smallbox' value="{$list[id]}"/></td>
	                    </tr>
	                    <tr>
	                        <td width="148" ><span class="usagetxt darktext">资源名称：</span></td>
	                        <td width="491"><input type='text' name='name' class='inputbox smallbox' value="{$list[name]}"/></td>
	                    </tr>
	                    <tr>
	                        <td width="148" ><span class="usagetxt darktext">资源类型：</span></td>
	                        <td width="491">
								<input type='radio' name='type' value="1" $type[1]/>表情 
	                			<input type='radio' name='type' value="2" $type[2]/>信纸 
	                			<input type='radio' name='type' value="3" $type[3]/>皮肤 
							</td>
	                    </tr>
	                    <tr>
	                        <td><span class="usagetxt darktext">手机系统：</span></td>
	                        <td>
	                        	<input type='radio' name='system' value="1" $system[1]/>安卓 
	                			<input type='radio' name='system' value="2" $system[2]/>IOS
	                        </td>
	                    </tr>
	                    <tr>
	                        <td><span class="usagetxt darktext">资源包地址：</span></td>
	                        <td><input type='text' name='url' class='inputbox largebox' value="{$list[url]}"/></td>
	                    </tr>
	                    <tr>
	                        <td><span class="usagetxt darktext">缩略图地址：</span></td>
	                        <td><input type='text' name='thumbnail' class='inputbox largebox' value="$thumbnail"/></td>
	                    </tr>
	                    <tr>
	                        <td><span class="usagetxt darktext">预览图地址：</span></td>
	                        <td><input type='text' name='viewurl' class='inputbox largebox' value="$viewurl"/></td>
	                    </tr>
	                    <tr>
	                        <td><span class="usagetxt darktext">发布时间：</span></td>
	                        <td><!--{date('Y-m-d H:i:s',$list[time])}--></td>
	                    </tr>
	               </table>
                   <input type="hidden" value="resource" name="ac"/>
                   <input type="hidden" value="modManageResource" name="op"/>
                   <input type="submit" value="修改" class="btn" /> 
               	</form>
				</div>
                <div style="clear: both;"></div>
                <div class="extrabottom">
                <span class="usagetxt darktext" style="float:left;">附件列表:</span>
                	<!--{loop $list[attachmentList] $attach}-->
                		<div class="chePicMin S_bg2 bigcursor" style="float:left;margin-left:5px;">
						<!--{if $attach[attachmentType]==1}-->
						<a title="" href="http://img.fenfenriji.com{$attach[attachmentPath]}" class="fancybox" data-fancybox-group="group-{$value[id]}">
							<img alt="" src="http://img.fenfenriji.com{$attach[attachmentPath]}" class="bigcursor" width="200px">
						</a>
						<!--{/if}-->
						</div>
                	<!--{/loop}-->
                </div>
            </div>
        </div>
    </div>
    <script>
        $("#passwd").val() 
    </script>
    <!--{template admin/leftside}-->
    <!--{template admin/footer}-->